package com.yun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

//@EnableDiscoveryClient //服务发现，会将DiscoveryClient作为bean被IOC容器管理
@EnableHystrix //允许服务监控
@EnableCircuitBreaker//对hystrixR熔断机制的支持
@EnableEurekaClient // 表示是一个Eurka的客户端
@SpringBootApplication
@EnableHystrixDashboard
public class MarkingProcess_start_8002 {
    public static void main(String[] args) {
        SpringApplication.run(MarkingProcess_start_8002.class, args);
    }
}
